Skip to content

Use the shared verify-lockfile workflow - #20

Merged
tillrohrmann merged 1 commit into
mainfrom
shared-verify-lockfile
Nov 2, 2026
Merged

tillrohrmann merged 1 commit into
mainfrom
shared-verify-lockfile

Conversation

@tillrohrmann

Copy link
Copy Markdown
Contributor

Summary

Replaces the copied job in verify-lockfile.yml with a call to the shared workflow in restatedev/restate (restatedev/restate#5721):

jobs:
  verify:
    uses: restatedev/restate/.github/workflows/verify-lockfile.yml@main

The gh-actions-lock version is then maintained in one place for all restatedev repositories. Dependabot can't bump it because it is a CLI argument (gh extension install github/gh-actions-lock --pin v0.4.0), not a uses: reference. The workflow name and triggers stay as they are.

  • actions.lock is relocked: the verify-lockfile.yml entry no longer lists actions/checkout, which is now covered by restatedev/restate's own lockfile.
  • The check is now reported as verify / verify instead of verify. No branch protection or ruleset in this repository requires the old name.

Test plan

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

Test Results

  8 files  ±0    8 suites  ±0   5m 5s ⏱️ +21s
 71 tests ±0   70 ✅  - 1  0 💤 ±0  0 ❌ ±0  1 🔥 +1 
322 runs  ±0  321 ✅  - 1  0 💤 ±0  0 ❌ ±0  1 🔥 +1 

For more details on these errors, see this check.

Results for commit 817791f. ± Comparison against base commit 527cea2.

@tillrohrmann

Copy link
Copy Markdown
Contributor Author

@pullfrog please rebase and review. Are the failing tests caused by my changes? If not, then please create issues to fix them.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

The change itself looks good, and the failing checks are not caused by it. But the branch now conflicts with main in actions.lock and needs a rebase before it can merge. I couldn't push one from this review run (pushes are blocked in review mode), so the exact resolution is below.

Reviewed changes

I reviewed the switch from the copied verify job to the shared reusable workflow, plus the relocked actions.lock.

  • Shared verify job: verify-lockfile.yml now calls restatedev/restate/.github/workflows/verify-lockfile.yml@main. Triggers and the caller's permissions: contents: read stay the same, and verify / verify passes on this PR.
  • Relock: the verify-lockfile.yml entry no longer lists any actions, and the now-unused actions/checkout@v7.0.1 dependency is dropped.

⚠️ actions.lock conflicts with main after 6a63deb

6a63deb (add Pullfrog workflow) added .github/workflows/pullfrog.yml, which uses actions/checkout@v6.1.0. It also added a actions/checkout@v6.1.0 dependency right next to the v7.0.1 entry this PR removes, so the rebase conflicts. I resolved it locally: I kept v6.1.0 and dropped v7.0.1. After that, gh actions-lock --verify (v0.4.0) reports All 6 workflows valid.

Technical details
# Rebase shared-verify-lockfile onto main

## Affected sites
- .github/workflows/actions.lock — `dependencies:` block, conflict between `actions/checkout@v6.1.0` (added on main) and the removed `actions/checkout@v7.0.1`

## Required outcome
- After `git rebase origin/main`, the `dependencies:` section must contain `actions/checkout@v4.4.0` and `actions/checkout@v6.1.0`, but not `actions/checkout@v7.0.1`:

```yaml
    'actions/checkout@v6.1.0':
        ref: 'v6.1.0'
        commit: 'sha1-d23441a48e516b6c34aea4fa41551a30e30af803'
        owner_id: 44036562
        repo_id: 197814629
```

- Keep the `'.github/workflows/pullfrog.yml':` workflow entry from main and `'.github/workflows/verify-lockfile.yml': []` from this PR.
- Running `gh actions-lock --verify` should print `All 6 workflows valid`. Running `gh actions-lock` to relock after the rebase gives the same result.

ℹ️ The failing checks are a test-harness flake, not caused by this PR

Features integration test and Test Results report the same single failure. All 321 / 321 tests passed, but one test class (ServiceToServiceScopeConcurrency) failed to initialize: exposeHostPort in the sdk-test-suite harness hit a TimeoutException while forwarding a host port to the Restate container. This PR doesn't touch integration.yaml or any SDK code. The integration runs right after it passed (#19 at 2649807 and main at 6a63deb), and so did every recent scheduled run on main. I filed #21 to track the flake. Re-running the job should be enough to get it green.

Pullfrog  | Fix it ➔ | View workflow run | Using claude-opus-5-5 | 𝕏

@tillrohrmann

Copy link
Copy Markdown
Contributor Author

@pullfrog rebase and resolve conflicts.

@pullfrog

pullfrog Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Rebased shared-verify-lockfile onto main and force-pushed. The branch is now one commit (17ad39e) on top of main.

Conflict in .github/workflows/actions.lock: main had added actions/checkout@v6.1.0 for the new pullfrog.yml, and this PR removes actions/checkout@v7.0.1. I kept actions/checkout@v6.1.0 because pullfrog.yml still uses it, and dropped actions/checkout@v7.0.1 because no workflow uses it anymore.

gh actions-lock --verify (v0.4.0) passes for all 6 workflows. It also prints a warning that the container image used by enricomi/publish-unit-test-result-action@v2 isn't pinned by digest. That warning was there before this PR.

Pullfrog  | View workflow run | via Pullfrog | Using claude-opus-5-5 | 𝕏

Call the reusable workflow instead of keeping a copy of the job, so the
gh-actions-lock version is maintained in one place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	.github/workflows/actions.lock
@pullfrog
pullfrog Bot force-pushed the shared-verify-lockfile branch from 817791f to 17ad39e Compare November 2, 2026 17:15
@tillrohrmann
tillrohrmann merged commit f65c084 into main Nov 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant